package org.bluesky.controller;

import org.bluesky.framework.ResponseResult;
import org.bluesky.framework.service.LinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/link")
public class LinkController {

    @Autowired
    private LinkService linkService;

    @GetMapping("/allLinkList")
    public ResponseResult allLinkList(){
        return linkService.allLink();
    }
}
